//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "tools\fn_nextJipID.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

_id = JIPGETVAR(QGVAR(MISSION_JIP_NEXTID),0);
if (_id == 0) then { _id = 1;};
JIPSETVAR(QGVAR(MISSION_JIP_NEXTID),(_id + 1)); 
_id;